//引入封装的请求服务
import {
  GET,
  POST,
  UPLOAD
} from '@/services/request.js'

//导出接口
export default {
  // 订单
  OrderIndex(data = {}) {
    return POST({
      url: '/order/order/index',
      params: data
    })
  },
  // 添加
  OrderAdd(data = {}) {
    return POST({
      url: '/order/order/add',
      params: data
    })
  },

  // 订单详情
  OrderInfo(data = {}) {
    return POST({
      url: '/order/order/info',
      params: data
    })
  },

  //确认收货接口
  OrderConfirm(data = {}) {
    return POST({
      url: '/order/order/confirm',
      params: data
    })
  },

  // 订单地址
  OrderExpress(data = {}) {
    return POST({
      url: '/order/order/express',
      params: data
    })
  },


  //评价商品
  OrderComment(data = {}) {
    return POST({
      url: '/order/order/comment',
      params: data
    })
  },

  //申请退款
  OrderBack(data = {}) {
    return POST({
      url: '/order/order/back',
      params: data
    })
  },

  //退货退款
  OrderBackall(data = {}) {
    return POST({
      url: '/order/order/Backall',
      params: data
    })
  },

  OrderPrice(data = {}) {
    return POST({
      url: '/order/order/price',
      params: data
    })
  },



}